package com.hlmc.service;

import com.hlmc.dao.FuLiDao;
import com.hlmc.entity.FuLi_Video;
import com.hlmc.entity.Yun_Video;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@Service("fl_service")
public class FlService implements FuLiDao {

    @Resource
    private FuLiDao flDao;
    @Override
    public int AddFl_video(FuLi_Video fuLi_video) {
        return 0;
    }

    @Override
    public int findTotalNum() {
        int total=0;
        total=flDao.findTotalNum();
        return total;
    }

    @Override
    public List<FuLi_Video> findFlpage(Map<String, Object> map) {

        List<FuLi_Video> fuLi_videos=new ArrayList<FuLi_Video>();
        fuLi_videos=flDao.findFlpage(map);
        return fuLi_videos;
    }
}
